<?php
defined('_VISIT_URL_') or exit('No direct script access allowed');

class account extends base {

	public function __construct() {
		$this->pagePath = _MANAGER_ACCOUNT_PATH_;
		$this->pluginPath = _MANAGER_COMMON_PATH_;
	}

	//打开登录页
	public function login() {
		$this->show('login');
	}

	//打开后台主界页
	public function main() {
		$this->show('main');
	}

	//打开后台管理首页
	public function home() {
		$this->show('home');
	}

	//打开修改密码页
	public function retpwd() {
		$this->show('retpwd');
	}

	//打开用户管理页
	public function user() {
		$this->show('user');
	}

	//打开角色管理页
	public function rolelist() {
		$this->show('rolelist');
	}

	//打开菜单管理页
	public function menu() {
		$this->show('menu');
	}

	//打开添加新角色页
	public function addRoleWeb() {
		$this->show('addrole');
	}

	//打开修改角色页
	public function editRoleWeb() {
		$this->show('editrole');
	}

	//打开菜单操作项列表页
	public function operate() {
		$this->show('operatelist');
	}

	//打开角色操作项配置页
	public function operateSet() {
		$this->show('operateset');
	}

	//打开测试页1
	public function testadd() {
		$this->show('testadd');
	}

	//打开测试页2
	public function testedit() {
		$this->show('testedit');
	}

	//打开测试页3
	public function editor() {
		$this->load('editor', 'list,vue', '10');
	}

}